console.log(Object.prototype.toString.call(null)); // [object Null]
console.log(Object.prototype.toString.call(new Array()));// [object Array]
console.log(Object.prototype.toString.call(new Date()));// [object Date]
console.log(Object.prototype.toString.call(new RegExp())); // [object RegExp]